import HttpHandler from "@/handler/HttpHandler";

export default class SubApiUrlK3cloud {
    constructor() {
        this.http = new HttpHandler();
    }
    // 获取分页列表
    queryListPage(data) {
        let url = '/tie-sip/subApiUrlK3cloud/queryListPage';
        return this.http.get(url, data);
    }

    // 新增
    add(data) {
        let url = '/tie-sip/subApiUrlK3cloud/add';
        return this.http.post(url, data);
    }
    
    // 修改
    update(data) {
        let url = '/tie-sip/subApiUrlK3cloud/update';
        return this.http.post(url, data);
    }

    // 修改
    updateCode(data) {
        let url = '/tie-sip/subApiUrlK3cloud/updateCode';
        return this.http.post(url, data);
    }

    // 详情
    detail(data) {
        let url = '/tie-sip/subApiUrlK3cloud/queryDetail';
        return this.http.get(url, data);
    }

    // 删除
    delete(data) {
        let url = '/tie-sip/subApiUrlK3cloud/delete';
        return this.http.post(url, data);
    }
}
